import request from '@/utils/request'

// 右上AI分析-AI实时数据
export function getServer() {
  return request({
    url: '/wis/big/AIRealTime',
    method: 'get'
  })
}

//右上AI分析-AI总数图汇总
export function AIsum(data){
  return request({
    url:'/wis/big/AITotalSummary',
    method:'get',
    params:data,
  })
}

//作业管理-饼图
export function getWorkPie(){
  return request({
    url:'/wis/big/jobManagementBing',
    method:'get'
  })
}

//作业管理-折线图
export function getWorkLine(){
  return request({
    url:'/wis/big/jobManagementZhe',
    method:'get'
  })
}

//作业管理-特殊作业数量统计
export function specialWork(data){
  return request({
    url:'/wis/big/jobManagementZhu',
    method:'get',
    params:data
  })
}

//作业管理-非常规作业数量统计
export function notregularWork(data){
  return request({
    url:'/wis/big/jobUnconventional',
    method:'get',
    params:data
  })
}

//违规类型对比
export function violateCompare(){
  return request({
    url:'/wis/big/securityMonitoring',
    method:'get',
  })
}

//违规类型数量统计
export function violateSummary(data){
  return request({
    url:'/wis/big/AITotalSummary',
    method:'get',
    params:data
  })
}

//AI识别
export function AIscan(data){
  return request({
    url:'/wis/big/AiIdentify',
    method:'get',
    params:data
  })
}
